package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Question;
import cn.wolfcode.trip.base.query.QuestionQueryObject;
import com.github.pagehelper.PageInfo;

public interface IQuestionService {


    PageInfo selectQuestions(QuestionQueryObject qo);

    Question selectById(Long id);

    void changeState(Long questionId);

    void saveQuestion(Question question);

    void updateViewCount(Long id);
}
